<?php

if(!defined('ADMIN')){
	exit('Access Denied');
}
if(isset($_GET["id"])){ $_POST['ids']=$_GET["id"];}
$id_arr=$_POST['ids'];
if(!empty($id_arr)){
    if(!is_array($id_arr)){
        $id_arr1[]=$id_arr;
    }else{
        $id_arr1=$id_arr;
    }

   $allrow=$ezhand->select_all("member","id,islock","id in (".implode(",",$id_arr1).")");

   while(list($k,$row)=each($allrow)){     
        $uid=$row["id"];
        $re=$ezhand->update("member",array("islock"=>1),"id=".$uid);
        
     }
    
    
    
    

}
jumpajax('200','所选择用户已经被锁定',"","","page".$catid);

?>